URL additional field displays HTML instead of link

Home Forums Calendar Products Events Calendar PRO URL additional field displays HTML instead of link

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1006258
    Paul
    Participant

    Hello,

    New PRO user here. I’ve searched extensively on the forums and knowledgebase about this issue but haven’t found anything so I’m guessing it’s something I am doing wrong or a problem with my setup.

    I’ve added an Additional field in the settings and set the type to URL. When I enter a URL it displays on the event page as follows instead of displaying the text as a clickable link.

    <a href="http://examplewebsite.com" target="self">http://examplewebsite.com/</a>

    Is there some setting I need to change for this to display correctly?

    URLs entered into the “Website” field display correctly as a clickable link but not in the Additional Fields. Alternatively could you point me to which file I need to modify to change the Event detail labels (the box at the bottom of an event page) from “Website” to “Register”

    • This topic was modified 8 years, 7 months ago by Paul.
    • This topic was modified 8 years, 7 months ago by Geoff.
    #1006643
    Geoff
    Member

    Hi Paul,

    Welcome to the forums and thanks for going PRO!

    Sorry for the trouble here. I tried adding a new “Text” additional field in my own settings and typed in the same URL but it seemed to work well.

    Are you also adding a Text field or is some other type of field? Let me know and I’d be happy to test it out and see if I can create the same issue and troubleshoot from there.

    Thanks!
    Geoff

    #1006724
    Paul
    Participant

    This reply is private.

    #1006847
    Graeme
    Participant

    Hi guys – I’m having what I think is a similar problem – one that is quite urgent.

    Check this out: http://midlothiansciencefestival.com/event/unbelievable-the-science-of-the-paranormal-at-dalkeith-library/

    Look at the Other fields (I have hidden the “other” label but they are at the right of the details box. You can see the URL field (which is an Additional Field of type URL with plain text of the url entered in the event as value).

    It looks like the value of the field is being being returned incorrectly (some extra double quotes). I can see that additional-fields.php controls the display of the additional fields, but it simply returns the values as stored int he db. Looks like a storing issue?

    Any other info you need, please let me know.

    Thanks
    Graeme.

    #1007027
    Geoff
    Member

    Thanks for following up, Paul! I’m stoked to see Brian’s answer helped out and that things are worked out. 🙂


    @Graeme
    , here is the answer that resolved the issue:
    https://theeventscalendar.com/support/forums/topic/additional-field-url-displays-as-html-on-event-page/#post-1006469

    Hopefully this helps for you as well. If not, please do open a new thread and we’d be happy to help you out there.

    Cheers!
    Geoff

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘URL additional field displays HTML instead of link’ is closed to new replies.